quartz: move dialogs to the same window level as utility windows
authorMichael Natterer <mitch@gimp.org>
Thu, 6 Jun 2013 13:39:53 +0000 (15:39 +0200)
committerMichael Natterer <mitch@gimp.org>
Thu, 6 Jun 2013 13:49:00 +0000 (15:49 +0200)
commit4c896c9025df00506be539c7af229643f60ff2a0
tree16d0b93d32b93019437e38c5a964af71094b2c9d
parentf29841a03e798408a7d236e96a115c2acaa531dd
quartz: move dialogs to the same window level as utility windows

window_type_hint_to_level(): applied patch from Paul Davis which moves
dialogs to NSFloatingWindowLevel. This is not quite the perfect
solution, but it's a pragmatic fix that makes apps which have both
window types much more usable, and prevents dialog from disappearing
under an application's main window.
(cherry picked from commit 59d49e1566faeed80d2b2052c42fe6c5e9153190)
gdk/quartz/gdkwindow-quartz.c